$fontSize_20: 1.1vw;
$fontSize_18: 1vw;
$fontSize_16: 0.9vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.2vw;
$fontSize_36: 1.8vw;
$f: 19.2;

.header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  transition: all 600ms;
  background-color: white;

  .box {
    margin: 1.5vw 12vw 0 12vw;
    display: flex;
    // justify-content: space-between;
    align-items: center;

    .logo {
      position: relative;

      img {
        width: 200/$f+vw;
        transition: all 600ms;
      }
    }

    .links {
      display: flex;
      justify-content: space-between;
      width: 50vw;
      align-items: center;
      margin-left: 52/$f+vw;

      .item {
        padding: 2.2vw 0;

        .a1 {
          color: #000;
          text-transform: uppercase;
          font-size: 16/$f+vw;
          font-weight: 500;
          transition: all 600ms;
          display: flex;
          align-items: center;

          svg {
            display: block;
            margin-left: 0.5vw;
          }
        }

        .active {
          color: #61C0BD;
        }

        .bmenu {
          position: absolute;
          left: 0;
          top: 100%;
          width: 100%;
          display: flex;
          justify-content: space-between;
          display: none;

          .lt {
            width: 25%;
            background: #F7F7F7;
            color: #222;
            font-size: 32/$f+vw;
            font-weight: 500;
            text-transform: capitalize;

            p {
              float: right;
              margin: 40/$f+vw 78/$f+vw 0 0;
            }
          }

          .rc {
            width: 75%;
            background: #F7F7F7;
            // box-shadow: 4px 4px 50px 0px #E1E1E1;
            box-shadow: 0px 28px 92.2px 0px rgba(189, 189, 189, 0.25);

            .list {
              display: flex;
              width: 60%;
              flex-wrap: wrap;
              margin: 3vw 5vw;
              justify-content: space-between;

              a {
                width: 48%;
                color: #000;
                font-size: 20/$f+vw;
                display: flex;
                margin-bottom: 48/$f+vw;
                transition: all 600ms;

                svg {
                  width: 24/$f+vw;
                  display: block;
                  transition: all 600ms;
                  margin-left: 3vw;
                  opacity: 0;
                  transform: translateX(-3vw);
                }

                &:hover {
                  color: #E60012;

                  svg {
                    transform: translateX(0);
                    opacity: 1;
                  }
                }
              }
            }

            .first_menu {
              width: fit-content;
              background: #FFF;
              padding: 20/$f+vw 50/$f+vw;
              position: relative;
              width: 600/$f+vw;

              .i {
                margin-bottom: 2px;

                .at {
                  border-bottom: 1px solid #E1E1E1;
                  padding: 12/$f+vw 0;
                  color: #666;
                  font-size: 20/$f+vw;
                  text-transform: capitalize;
                  display: flex;
                  justify-content: space-between;
                  position: relative;

                  svg {
                    width: 10/$f+vw;
                    display: block;
                    opacity: 0;
                    transition: all 600ms;
                  }

                  transition: all 600ms;

                  &::after {
                    content: '';
                    display: block;
                    position: absolute;
                    left: 0;
                    bottom: -1px;
                    width: 0;
                    height: 2px;
                    background-color: #1D2088;
                    transition: all 600ms;
                    z-index: 10;
                  }
                }

                .second_menu {
                  position: absolute;
                  left: calc(100% + 3.2vw);
                  top: 20/$f+vw;
                  width: 560/$f+vw;
                  display: none;

                  a {
                    display: block;
                    color: #666;
                    font-size: 20/$f+vw;
                    border-bottom: 1px solid #E1E1E1;
                    padding: 12/$f+vw 0;
                    transition: all 600ms;

                    &:hover {
                      color: #1D2088;
                    }
                  }
                }
              }

              .on {
                .at {
                  color: #1D2088;

                  svg {
                    opacity: 1;
                  }

                  &::after {
                    width: 100%;
                  }
                }

                .second_menu {
                  display: block;
                }
              }
            }
          }
        }

        &:hover {
          .bmenu {
            display: flex;
          }
        }
      }

      .btn {
        a {
          border: 1px solid #000;
          font-size: 14/$f+vw;
          color: #000;
          width: 119/$f+vw;
          line-height: 42/$f+vw;
          border-radius: 30/$f+vw;
          display: block;
          text-align: center;
          transition: all 600ms;

          &:hover {
            background-color: #E60012;
            color: white;
            border-color: #E60012;
          }
        }
      }
    }
  }

  .top_right {
    position: absolute;
    right: 0;
    top: 0;
    background: #F5F3F2;
    width: 20vw;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom-left-radius: 60px;
    padding: 0.5vw 0.5vw 0.5vw 1.2vw;

    .new {
      color: rgba(0, 0, 0, .5);
      font-size: 14/$f+vw;
      text-transform: uppercase;
      transition: all 600ms;

      &:hover {
        color: #000;
      }
    }

    .search {
      svg {
        width: 17/$f+vw;
        display: block;
        cursor: pointer;
        opacity: .5;
        transition: all 600ms;

        &:hover {
          opacity: 1;
        }
      }
    }

    .lan {
      a {
        display: flex;
        align-items: center;
        opacity: .5;
        transition: all 600ms;

        img {
          width: 19/$f+vw;
          display: block;
        }

        p {
          color: rgba(0, 0, 0, 1);
          font-size: 14/$f+vw;
          text-transform: uppercase;
          margin-left: 5px;
        }

        &:hover {
          opacity: 1;
        }
      }
    }
  }
}

.hasBg {
  box-shadow: 0 0 10px rgba(230, 0, 18, .2);
}

.pheader {
  display: none;
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  left: 0;
  z-index: 1002;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);

  .menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    ;

    a {
      margin-left: 20px;
      transform: translateY(2px);

      img {
        height: 20px;
        object-fit: contain;
      }
    }

    .navbox {
      margin-right: 20px;

      .line {
        width: 30px;
        height: 1px;
        background-color: #000;
        margin: 8px 0;
        -webkit-transition: all .6s;
        transition: all .6s;
      }
    }

    .activeBox {
      .line:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
      }

      .line:nth-child(2) {
        transform: translateX(30px);
        opacity: 0;
      }

      .line:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
      }
    }
  }
}

.menuList {
  position: fixed;
  left: 0;
  top: 59px;
  width: 100%;
  z-index: 1001;
  background: white;
  display: none;
  height: calc(100vh - 59px);

  .lan {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;

    a {
      color: #646464;
      margin-left: 10px;
    }

    .active {
      font-weight: bolder;
      color: #000000;
    }
  }

  .item {
    //background: rgba(255,255,255,.8);
    padding: 1rem;
    background-color: #ededed;
    border-bottom: 1px solid #dadada;

    a {
      color: #000;
      display: block;
      position: relative;
      text-transform: uppercase;

      img {
        position: absolute;
        right: 0;
        width: 20px;
        transition: all 600ms;
        top: 5px;
      }

      .icon2 {
        position: static;
        width: auto;
        margin-right: 10px;
      }

      .rotate {
        transform: rotate(90deg);
      }
    }

    .tb {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;

      a {
        width: 100%;
        display: block;
      }

      img {
        width: 30px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        transition: all 600ms;
      }

      .rotate {
        transform: translateY(-50%) rotate(90deg);
      }
    }

    .types_top {
      display: none;

      a {
        font-size: 14px;
        margin-top: 15px;
      }
    }
  }
}

.activeList {
  transform: translateY(0);
}


.search_dom {
  background: rgba(0, 0, 0, 0.60);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 100;
  background: rgba(0, 0, 0, 0.60);
  display: none;

  .box {
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.8vw 0;

    .icon {
      svg {
        width: 28/$f+vw;
      }
    }

    .sr {
      margin: 0 1vw;
      position: relative;

      input {
        outline: none;
        border-radius: 30px;
        border: 1px solid #E5E5E5;
        width: 25vw;
        padding: 10px 0;
        text-indent: 20px;
        color: #000;
        font-size: $fontSize_16;
      }

      a {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);

        svg {
          display: block;
          width: 16/$f+vw;
        }
      }
    }

    .close {
      cursor: pointer;

      svg {
        width: 32/$f+vw;
        display: block;
      }
    }
  }
}

.foot {
  position: relative;
  padding: 80/$f+vw 160/$f+vw;

  .top {
    position: absolute;
    right: 30/$f+vw;
    top: 4.8vw;
    z-index: 5;
    cursor: pointer;

    svg {
      width: 60/$f+vw;
      display: block;
    }
  }

  .dom1 {
    display: flex;
    justify-content: space-between;
    gap: 5%;

    .l {
      width: 60%;
      display: flex;
      justify-content: space-between;

      .item {
        .i {
          margin-bottom: 2vw;
          min-height: 7vw;

          .pt {
            color: #000;
            font-size: 18/$f+vw;
            font-weight: 700;
            text-transform: capitalize;
          }

          .aList {
            margin-top: 1vw;

            a {
              display: block;
              color: #666;
              font-size: 17/$f+vw;
              font-weight: 200;
              margin-top: 0.5vw;
              transition: all 600ms;

              &:hover {
                color: #000;
              }
            }
          }

          .icons {
            display: flex;
            margin-top: 1.5vw;
            align-items: center;

            .icon {
              margin-right: 1vw;

              img {
                display: block;
                width: 112/$f+vw;
              }
            }
          }
        }
      }

      .item:nth-child(3) {
        margin: 0 10%;
      }
    }

    .r {
      width: 27%;

      .logo {
        img {
          width: 60%;
        }
      }

      .email {
        color: #000;
        font-size: 16/$f+vw;
        text-transform: capitalize;
        margin: 1.5vw 0;
      }

      .sr {
        input {
          border-radius: 4px;
          border: 1px solid rgba(0, 0, 0, .2);
          background: #FFF;
          width: 90%;
          padding: 1vw 5%;
          color: #000;
          font-size: 16/$f+vw;
        }
      }

      .agree {
        display: flex;
        justify-content: space-between;
        margin: 1vw 0 2vw 0;

        .k {
          width: 1vw;
          height: 1vw;
          border-radius: 2px;
          border: 2px solid rgba(0, 0, 0, .2);
          cursor: pointer;
          transition: all 600ms;
        }

        .fill {
          background-color: #E60012;
          border-color: #E60012;
        }

        p {
          width: calc(98% - 1vw);
          color: #000;
          font-size: 16/$f+vw;
          opacity: .6;
          text-transform: capitalize;
        }
      }

      .btn {
        width: 217/$f+vw;
        text-align: center;
        line-height: 56/$f+vw;
        background: #E60012;
        color: #FFF;
        font-size: 20/$f+vw;
        text-transform: capitalize;
        cursor: pointer;
      }

      .follow {
        display: flex;
        align-items: center;
        margin-top: 4.6vw;

        p {
          color: #000;
          font-size: 16/$f+vw;
          font-weight: 700;
        }

        .icons {
          display: flex;
          align-items: center;
          margin-left: 1.7vw;

          a {
            display: block;
            margin-right: 0.8vw;

            img {
              display: block;
              max-width: 25/$f+vw;
            }
          }
        }
      }
    }
  }

  .cookies {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 5%;
    width: 60vw;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.30);
    background: #FFF;
    padding: 0.8vw 1vw;
    display: flex;
    justify-content: space-between;
    // align-items: center;
    z-index: 10;
    display: none;
    gap: 3%;

    .l {
      width: 70%;

      .p1 {
        color: #666;
        font-size: 16/$f+vw;
        margin-top: 0.5vw;
      }

      .des {
        color: #666;
        font-size: 16/$f+vw;
        margin-top: 0.8vw;

        a {
          color: #000;
          opacity: .5;
          text-decoration: underline;
        }
      }
    }

    .r {
      width: 30%;

      div {
        border: 1px solid rgba(0, 0, 0, 0.30);
        background: #FFF;
        padding: 0.8vw 0;
        text-align: center;
        cursor: pointer;
        font-size: 14/$f+vw;
        transition: all 600ms;
        color: #000;
        font-size: 14/$f+vw;
        font-weight: 700;

        &:hover {
          background: #E60012;
          color: white;
        }
      }

      .accept {
        background: #E60012;
        color: white;
        margin-bottom: 0.5vw;
      }
    }
  }
}


.r_menu {
  position: fixed;
  right: 15/$f+vw;
  top: 70%;
  transform: translateY(-50%);
  z-index: 10;
  border-radius: 50/$f+vw;
  background: #FFF;
  box-shadow: 1px 1px 33/$f+vw 0px rgba(0, 0, 0, 0.10);
  padding: 15/$f+vw 0;

  .items {
    .item {
      padding: 15/$f+vw 10/$f+vw;
      border-bottom: 1px solid #F0F0F0;
      cursor: pointer;
      position: relative;

      .icon {
        svg {
          width: 36/$f+vw;
          display: block;
          margin: 0 auto;
          height: auto;
        }
      }

      .info {
        position: absolute;
        left: 0;
        transform: translateX(-100%) translateY(-55%);
        z-index: 10;
        display: none;
        align-items: center;
        .text {
          border-radius: 8/$f+vw;
          background: #FFF;
          width: 343/$f+vw;
          box-shadow: 0px 21.6/$f+vw 54/$f+vw 0px rgba(0, 0, 0, 0.10);
          padding: 27/$f+vw 14/$f+vw 27/$f+vw 32/$f+vw;

          .p1 {
            color: #000;
            font-size: 20/$f+vw;
            font-family: 'Montserrat-Regular.otf';
            font-weight: bold;
            margin-bottom: 23/$f+vw;
          }

          .p2 {
            color: #1A202C;
            font-weight: 700;
            font-size: 16/$f+vw;
          }

          .des {
            color: #666;
            font-size: 14/$f+vw;
            line-height: 1.5;
            margin: 10/$f+vw 0 16/$f+vw 0;
          }
        }

        .code {
          width: 220/$f+vw;
          height: 221/$f+vw;
          box-shadow: 0px 21.6/$f+vw 54/$f+vw 0px rgba(0, 0, 0, 0.10);
          padding: 27/$f+vw 14/$f+vw 27/$f+vw 32/$f+vw;
          border-radius: 8/$f+vw;
          background: #FFF;
          display: flex;
          align-items: center;
          justify-content: center;
          img{
            max-width: 80%;
             max-height: 80%;
          }
        }

        .jt {
          margin: 0 5/$f+vw;

          svg {
            width: 20/$f+vw;
          }
        }
      }

      &:hover {
        .info {
          display: flex;
        }
      }
    }
    .item:last-child{
      border-bottom: none;
    }

    .top {
      padding: 20/$f+vw 0;
      cursor: pointer;

      svg {
        max-width: 60%;
        display: block;
        height: auto;
        margin: 0 auto;
      }
    }
  }
}



@media screen and (max-width: 1024px) {
  .header {
    display: none;
  }

  .pheader {
    display: flex;
  }
  .r_menu{
    right: 10px;
    width:60px;
    .items{
      .item{
        padding: 10px 0;
        .icon{
          svg{
            width: 20px;
          }
        }
        .info{
          .text{
            padding: 15px;
            width: 200px;
            .p1{
              font-size: 16px;
            }
            .p2{
              font-size: 14px;
            }
            .des{
              font-size: 12px;
            }
          }
          .code{
            width: 200px;
            height: 200px;
          }
          .jt{
            margin: 0 5px;
            svg{
              width: 10px;
            }
          }
        }
      }
      .top{
        padding: 10px 0;
        svg{
          width: 50%;
          margin: 0 auto;
          height: auto;
        }
      }
    }
  }

  .foot {
    padding: 20px 5%;

    .top {
      top: 0;

      svg {
        width: 30px;
      }
    }

    .dom1 {
      flex-direction: column;

      .l {
        display: none;
      }

      .r {
        width: 100%;

        .logo {
          img {
            width: 50%;
          }
        }

        .email {
          font-size: 14px;
          margin: 15px 0;
        }

        .sr {
          input {
            font-size: 14px;
            padding: 10px 5%;
          }
        }

        .agree {
          margin: 10px 0 20px 0;

          .k {
            width: 10px;
            height: 10px;
          }

          p {
            width: calc(96% - 10px);
            font-size: 14px;
          }
        }

        .btn {
          width: 50%;
          line-height: 50px;
          font-size: 16px;
        }

        .follow {
          margin-top: 40px;

          p {
            font-size: 16px;
          }

          .icons {
            margin-left: 20px;

            a {
              margin-right: 15px;

              img {
                max-width: inherit;
              }
            }
          }
        }
      }
    }

    .cookies {
      width: 80%;
      padding: 15px;
      flex-direction: column;

      .l {
        width: 100%;

        .p1 {
          font-size: 18px;
        }

        .des {
          font-size: 14px;
          line-height: 1.6;
        }
      }

      .r {
        width: 100%;

        div {
          padding: 8px 0;
          font-size: 14px;
          margin-top: 10px;
        }
      }
    }
  }
}